﻿using System;
using UnityEngine;

namespace RootMotion
{
	// Token: 0x020000F9 RID: 249
	public class TriggerEventBroadcaster : MonoBehaviour
	{
		// Token: 0x06000717 RID: 1815 RVA: 0x000068E7 File Offset: 0x00004AE7
		public void OnTriggerEnter(Collider collider)
		{
			if (this.target != null)
			{
				this.target.SendMessage("OnTriggerEnter", collider, SendMessageOptions.DontRequireReceiver);
			}
		}

		// Token: 0x06000718 RID: 1816 RVA: 0x0000690C File Offset: 0x00004B0C
		public void OnTriggerStay(Collider collider)
		{
			if (this.target != null)
			{
				this.target.SendMessage("OnTriggerStay", collider, SendMessageOptions.DontRequireReceiver);
			}
		}

		// Token: 0x06000719 RID: 1817 RVA: 0x00006931 File Offset: 0x00004B31
		public void OnTriggerExit(Collider collider)
		{
			if (this.target != null)
			{
				this.target.SendMessage("OnTriggerExit", collider, SendMessageOptions.DontRequireReceiver);
			}
		}

		// Token: 0x04000676 RID: 1654
		public GameObject target;
	}
}
